package com.mg.upload.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * 视频上传
 */
@Data
@TableName(value = "tb_video_upload")
public class VideoUpload {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 视频名
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 视频地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 状态
     */
    @TableLogic(value = "1",delval = "0")
    @TableField(value = "`status`")
    private Integer status;

    /**
     * 视频分类
     */
    @TableField(value = "video_class")
    private String videoClass;

    public static final String COL_ID = "id";

    public static final String COL_NAME = "name";

    public static final String COL_ADDRESS = "address";

    public static final String COL_STATUS = "status";

    public static final String COL_VIDEO_CLASS = "video_class";
}